<div class="nav">
    <a href="{:U('index')}">手机App模块列表</a>
    <a class="sel" href="#">编辑横幅广告</a>
</div>
<div class="add">
    <form method="post" action="" >
        <table class="table_add">
            <tr>
                <td width="100px">广告名称</td>
                <td><input class="input1" type="text" name="block_name" id="block_name" value="{$model.block_name}" style="width:140px" /> </td>
            </tr>
           
            <tr>
                <td width="100px">广告地址</td>
                <td><input class="input1" type="text" name="more_url" id="more_url" value="{$model.more_url}" style="width:500px" /> </td>
            </tr>
            <tr>
                <td>广告图片</td>
                <td>
                <include file="Public/uploadfile" filetype="image" id="ico"  value="{$model.ico}" editvalue="{:getEditFiles($model['ico'])}" width="100" path="index" limit="1" thumbw="" thumbh="" msg=""/>
   </td>
            </tr>
            <tr>
                <td width="100px">顺序编号</td>
                <td><input class="input1" type="text" name="order_id" id="order_id" value="{$model.order_id}" style="width:60px" /> <span class="msg">*</span></td>
            </tr>
            <tr>
                <td width="100px">是否显示</td>
                <td><select name="is_enable" id="is_enable" class="sel1">
                        <option value="1">显示</option>
                        <option value="0">不显示</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td></td>
                <td><input type="submit" class="btn1" value="提 交" />  &nbsp; <input class="btn3"  type="button" onclick="window.history.back()" value="返 回" /></td>
            </tr>
        </table>
        <input type="hidden" name="block_id" value="{$model.block_id}" />
    </form>
    <script type="text/javascript">
        $("#is_enable").val("{$model.is_enable}");
    </script>
</div>
